﻿@{
    ViewBag.Title = "Test Actions";
}

<h2>Test Actions</h2>

@if (string.IsNullOrWhiteSpace(ViewBag.Message) == false) {
    <div class="notification">@ViewBag.Message</div>
}

@foreach (string action in ViewBag.Actions) {
    <div>
    @using (Html.BeginForm(new { action = action })) {
        <input type="submit" value="@action" />
    }
    </div>
}